﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JzSport.Api.Results
{
    public class SearchUserResult
    {
        public int Start { get; set; }
        public int Limit { get; set; }
        public int Total { get; set; }
        public int Page { get; set; }

        public bool IsTheEnd { get; set; }
        public List<SearchUserResult.UserItem> Items { get; set; }

        public SearchUserResult()
        {
            Items = new List<UserItem>();
        }

        public class UserItem
        {
            public int Id { get; set; }
            public string Name { get; set; }
            public string NickName { get; set; }
            public string AvatarUrl { get; set; }
            /// <summary>
            /// true:此人已是你的好友
            /// false：此人还不是你的好友
            /// </summary>
            public bool IsFriend { get; set; }
        }
    }
}
